<?php function _tag_announce_tag_announce_member($data, $number, $rows, $count, $page, $pages, $setting){ global $PHPCMS,$MODULE,$M,$CATEGORY,$TYPE,$AREA,$GROUP,$MODEL,$templateid,$_userid,$_username;@extract($setting);?><div class="box_r">
<h1>网站公告</h1>
    <ul>
<?php if(is_array($data)) foreach($data AS $r) { ?>
<li><a href="<?php echo $MODULE['announce']['url'];?>?announceid=<?php echo $r['announceid'];?>" <?php if($target) { ?>target="_blank"<?php } ?>><?php echo $r['title'];?></a></li>
<?php } ?>
    </ul>
</div><?php } ?>